Skip to content

Verify: on-disk STlist tutorial, accessor fixes, CRAN check cleanup - #21

Merged
ACSoupir merged 16 commits into
alex-refactorfrom
alex_refactor_verify
Oct 16, 2026
Merged

ACSoupir merged 16 commits into
alex-refactorfrom
alex_refactor_verify

Conversation

@ACSoupir

Copy link
Copy Markdown
Collaborator

Verification run only. Triggers the Linux/macOS/Windows matrix, the PSOCK pass, the full-Suggests job and R CMD check --as-cran against 106 commits that have never been through CI.

A checkpoint of work already finished in the working tree, committed on its
own so that later changes are separable from it rather than entangled with
it. NEWS.md carries the per-change detail; this is the grouping.

Informative failures. About thirty bare stop() calls become catalog entries,
so an argument-validation failure is distinguishable from an internal crash
(27 new codes in inst/err.csv; raise_err() gained sprintf interpolation for
messages embedding a gene name, sample size or threshold). STdiff() explains
a numeric annot= instead of failing inside a dplyr join with a message naming
neither the function nor the argument. transform_data(method='sct') names the
sample and its dimensions when sctransform::vst() fails. Three sites that
hand-wrote the 'spatialGE exception:' prefix now use the catalog, so their
wording cannot drift from it.

STlist class contract. dim() returns c(n_genes, n_spots) or NULL instead of a
named list, which had made nrow()/ncol() meaningless and was reported by
R CMD check. length() counts samples rather than slots, so seq_along(x) no
longer silently iterates 7 times. x[i] subsets by sample across every
sample-keyed slot, including the per-sample level inside @gene_krige.
setValidity() rejects a malformed object at construction, and no longer
rejects one carrying kriging results -- it had compared @gene_krige's
gene-keyed top level against the sample names, so every object returned by
gene_interpolation() was invalid.

Correctness. load_images() matches by normalized sample name across every
supplied directory rather than positionally, so a sample whose image is not
the first path match is no longer dropped; an unreadable image is skipped
with a warning rather than silently. transform_data() populates
vst.variance.standardized for both methods, so the "top variable genes" a
downstream default selects no longer depend on which analysis ran first.
STplot_interpolation() works on its documented genes=NULL default instead of
failing on any STlist that had not already been through gene_interpolation().
cores= resolution is centralized in resolve_cores(), closing the
transform_data() path that coerced a bad value to NA and passed it to the
parallel lapply.

filter_data() reports what it removed, or says plainly that nothing matched.
Every count threshold defaults to 0, so a call supplying none of them
filtered nothing while looking like a successful filter.

CI. Adds a vignette argument check (dev/ci/check_vignette_args.R, which
parses every vignette's chunks and validates named arguments against formals
without evaluating anything -- three of the four are Rbuildignored and so were
never read by anything), a NAMESPACE import guard, a job asserting the interop
tests do not skip when Suggests are installed, and R CMD check --as-cran. Six
new test files cover the changes above.

DESCRIPTION gains the URL and BugReports fields.

Also drops the tracked .Rproj.user files, which .gitignore already covers.
Both methods read ncol(object@counts[[i]]) and nrow(...) directly. On an
sge_manifest those return NULL rather than erroring, and paste0() renders a
zero-length argument as "", so printing a disk-backed STlist produced

	alpha ( ROIs|spots|cells x  genes)

with no warning of any kind. This is the silent half of the failing-gracefully
rule, and printing the object is the first thing anyone does with one, so it
was also the most visible gap between the store's documented promise -- that
slot reads go through the accessors -- and what it actually did.

Route the four lines (two in show, two in summary, one per samples >= 11
branch) through sample_n_cells()/sample_n_genes(), already the idiom in this
file: the dim() method reads sample_dim(). For a non-manifest element each
accessor reduces by substitution to the base::ncol()/base::nrow() call it
replaces, so in-memory output is unchanged, including on the minimal
list(a=1, b=2) stubs the validity tests build.

Adds sample_slot_counts(), the materializing counterpart to sample_slot_mtx():
it resolves the slot by name and forwards genes=, so a call site already
branching on the plotting functions' data_type ('tr'/'raw') does not branch a
second time on which accessor to call. Used by the two plotting fixes that
follow; committed here rather than alone so no commit adds an unused function.

The test asserts the rendered numbers, not just parity with the in-memory
object -- two blank renderings are identical to each other too.

show()/summary() are not in bl_pipeline(), so there is no golden surface to
move; the gate passes unchanged.
plot_spatial_expression() took a list slice of the counts slot and then tested
rownames() on each element. rownames() is NULL on an sge_manifest, so on a
disk-backed STlist every sample fell to the "none of the requested genes are
available" branch, was dropped, and the function ended at

  Data was not found in the specified slot of this STList.

about data that was present -- naming the slot rather than the cause, and
indistinguishable from genuinely asking for an absent gene.

The gene-SET path already did this correctly: plot_spatial_geneset() reads
sample_tr_counts()/sample_genes(), so STplot(genes=list(...)) worked on the
same object that STplot(genes='GENE') could not plot. The two entry points
disagreed.

Carry the slot name alongside the list and read each sample's matrix from `x`
through sample_genes() and sample_slot_counts(genes=). `counts` stays the
accumulator, so the sample-dropping, the per-sample warning and the final stop
are untouched and still fire for a gene that really is absent. In memory the
accessor's gene-subset branch is literally the same logical-mask expression
that was inlined here, so the row order stays matrix order rather than
requested order (fidelity rule 9) -- which matters beyond cosmetics, since it
drives the key order of the returned list.

One in-memory behavior does change. `samples` is never de-duplicated, so
STplot(x, genes='G', samples=c('a','a')) had iteration 2 read back the
data.frame iteration 1 had written into `counts`; its rownames are libnames, so
the gene test failed, sample 'a' was dropped with a false "none of the
requested genes are available" warning, and a single-sample call then died with
the false error above. Reading from `x` means iteration 2 sees pristine data and
the sample is plotted. Nothing tests that path and bl_pipeline() passes
samples=NULL, which resolves to unique names, so no golden value moves.

Forwarding genes= to the accessor rather than masking afterwards also builds
the subset at its final size: on a backed object sparseMatrix() is constructed
with the subset's gene count instead of the full one. It saves no I/O --
sge_store_materialize() reads the whole parquet file and filters in Acero --
only the allocation.
gene_plots() and cluster_gene_plots() each took the whole counts slot and then
tested rownames(expr_tmp[[i]]). rownames() is NULL on an sge_manifest, so on a
disk-backed STlist every gene was reported absent in every sample:

  Sample alpha does not contain Gene1.

This was the quietest of the three unrouted reads and the worst for it. The
function did not fail -- it messaged its way through to an empty df_tmp,
returned a list of plot objects, and those failed only when something tried to
print them, with a ggplot2 error about a missing aesthetic variable. A caller
who did not read the messages got no signal at all.

Resolve the slot as a name and read each sample's row through sample_genes()
and sample_slot_counts(genes=). In memory both reduce by substitution to the
expressions they replace -- base::rownames(x@tr_counts[[i]]) and
m[rownames(m) %in% gene, , drop=FALSE], whose single row carries the same
values, names and column order as the whole-matrix read it replaces -- so
output is unchanged. Unlike STplot there is no accumulator hazard here:
expr_tmp was read-only, so a duplicated samples= was already handled
correctly.

Forwarding genes= also matters more here than elsewhere, because the loop is
gene-major within sample-major: the read now returns one row rather than the
full matrix on each of its length(genes) * length(samples) iterations. On a
backed object it is still one whole-file parquet read per iteration; hoisting
that above the gene loop would collapse it to one per sample but would also
reorder the message() output, so it is left alone.

Adds a class guard to test-graceful-errors.R for the silent half of the
failing-gracefully rule, covering all three fixes: a present gene must never be
reported absent on a backed object, and show() must never print blank
dimensions. The leaked vector is untouched -- none of these three surfaced as
an internal error string.

Output-neutrality is measured, not argued: with a baseline captured from the
tree immediately before these three commits, the golden gate passes at cores=1,
at cores=3 and on the cores-invariance check, 765 assertions, zero diffs.
Three places said a genes= read "touches only the row groups it needs" or
"prunes whole row groups without reading them": the header comment in
R/store_parquet.R, the accessor comment in R/utils_accessors.R, and the store
section of dev/ARCHITECTURE.md.

It does not. sge_store_materialize() reads with

  arrow::read_parquet(m$path, as_data_frame = FALSE)

and only then applies dplyr::filter(), which Acero evaluates over a Table that
is already fully in memory. Predicate pushdown and row-group skipping would
need arrow::open_dataset(), or an explicit row-group selection through
ParquetFileReader. So the whole file is read on every gene-subset read and only
the returned matrix is smaller -- the saving is one allocation, not I/O.

The sort key is still right, and for the stated reason: it gives parquet the
min/max statistics a reader would need. Nothing consumes them yet. The comments
now say that, and say not to describe it as a speedup, since that claim was
about to be repeated in a user-facing vignette about this feature.

ARCHITECTURE.md's own rule is to trust the code and fix the doc when they
disagree. Comments and documentation only; no behavior change.
STlist_to_disk() and its three companions shipped in 2.0.0 with one NEWS entry,
no @examples on any of the four reference pages, and no tutorial. It is the one
feature in the package that cannot be picked up from ?-help, because what needs
explaining is a workflow -- prepare in memory, write to disk, analyze, come
back -- rather than any individual argument.

Listed in .Rbuildignore alongside the other three site-only vignettes, so it
reaches readers through the pkgdown site without adding a second
network-dependent vignette to the CRAN tarball. It uses the same eight Visium
samples as basic_functions_vignette.Rmd, with that vignette's tryCatch download
guard and eval=net_check on every chunk, so the article degrades to prose
offline instead of failing the site build.

Every number in it was measured before it was written, on those eight samples:
the count slots drop from 1445.9 Mb to 25 Mb while the store occupies 346.8 MB
on disk, SThet returns bit-identical Moran's I both ways, and the same call
takes 0.5 s in memory against 1.8 s on disk.

That last figure is the point of the framing. The article says in its opening
that the mechanism buys capacity and not speed, and then shows the slowdown
rather than leaving the reader to find it. It also does not repeat the
row-group pruning claim corrected in the previous commit, and it documents the
consequences that are not visible from the function signatures: saveRDS records
paths rather than counts, a store under tempdir() cannot outlive the session
(with @misc$store$portable as the way to tell), filter_data()/transform_data()
and x[i] belong to the in-memory stage, and STlist_to_disk() leaves the
original object in place.

validate_store() returns invisibly, so a bare call renders as a chunk with no
output and reads as though nothing happened. The article says so and then shows
the failure, which is the informative half anyway.
Populating vst.variance.standardized in transform_data() made that function fit
a loess ACROSS GENES, which has a minimum data requirement the rest of it does
not. At span=0.3 the fit needs 4 genes with non-zero variance; with fewer,
stats::loess stops with

  span is too small

naming neither the sample, the gene count, nor anything the caller can act on.
So normalizing a small or low-complexity STlist aborted where 1.2.2 had
succeeded. Confirmed by running the same 3-gene object against both trees: main
transforms it, this branch did not.

Found because pkgdown could no longer build basic_functions_vignette.Rmd. Its
SThet interpretation aside simulates three genes, calls transform_data() and
then SThet() -- and SThet does not use VST, so the example worked on main. The
test suite could not have caught it: the fixture has 200 genes, and that
vignette is built only by pkgdown and R CMD check, never by test_local().

The fragility is not new, only relocated. STclust(), STgradient(),
gene_interpolation() and STdiff() all reach calculate_vst() on main too, so a
tiny STlist already failed there; transform_data() merely became the first
thing to hit it. The guard therefore goes in calculate_vst(), which repairs
both.

Seurat_FindVariableFeatures() returns NULL instead of fitting an infeasible
loess, and calculate_vst() decides what that means, because the right answer
differs by caller. For an STlist the transformation the caller actually asked
for still succeeds: the sample is left without the column and warned about by
name. For the matrix form, which exists only to rank genes for a topgenes
selection, there is no useful degraded answer, so that raises error0097 -- error
when nothing matches, warn when only some does. Since calculate_vst() computes
only when the column is absent, a later analysis retries rather than inheriting
a zero-filled one.

The count that gates the fit is of non-constant genes, not of genes: a
100-gene matrix in which three vary fails identically, so a guard on nrow()
would have missed it. Pinned by a test.

The warning is emitted by the parent loop rather than inside the sge_lapply
worker, because that worker runs in a fork, where warning() is not reliably
delivered to the caller.

Also corrects two claims about this change that do not survive measurement.
NEWS.md said it fixed which genes a downstream function selects for its default
topgenes; it did not, because all four of those functions already computed VST
themselves before ranking, so their selections were consistent beforehand. What
the change actually buys is that get_gene_meta() shows the column regardless of
call order, and that the interpolation functions stop dropping and recomputing
it. The cited top-20 overlap between gene_stdevs and VST rankings of 6 is 7-13
measured across the eight tnbc_bassiouni samples, and 8-11 on the fixture. The
header comment of test-vst_selection.R repeated both and is corrected too.

Full suite passes with the golden gate at cores=1, cores=3 and the invariance
check: 779 assertions, zero diffs.
Full pkgdown::build_site(). The committed site was built in April from 1.2.0
with pkgdown 2.1.1, so this moves every page to 2.0.0 and pkgdown 2.2.1 and
picks up the reference pages for the functions 2.0.0 added (as_Seurat,
STlist_to_disk, STlist_to_memory, is_backed, validate_store), which had never
been generated.

Adds the on-disk STlist article. pkgdown bakes the navbar into every page, so a
new article is only reachable from the Articles menu after a full rebuild --
hence rebuilding everything rather than just the one article.

All five vignettes were rendered with network access, so the articles contain
real output rather than the empty shell that basic_functions_vignette.Rmd
degrades to when its download fails. That vignette could not be built at all
until the preceding commit; it is the reason this rebuild happened in two
attempts.

The large diff is the 2.1.1 to 2.2.1 template change touching every HTML file,
not a content change. No files were orphaned.
Matches the spatialTIME convention of keeping planning documents in plans/
(git-tracked, Rbuildignored). Written before the work, so it predates the VST
regression found during the site rebuild; the 'Found but out of scope' section
at the end still lists the open items it did not cover.
The rebuilt home page showed two broken images. README.md referred to them as
vignettes/img/logo.png and vignettes/img/spatialGE_workflow_v3.png, and the
behavior of that path changed between the pkgdown that built the committed site
and the one installed now:

  pkgdown 2.1.1  src rewritten to "logo.png",                 file copied to docs/
  pkgdown 2.2.1  src rewritten to "articles/img/logo.png",    file not copied

2.2.1 maps anything under vignettes/ onto the site's articles/ directory, but
the copy step runs per article, and no article refers to these two images, so
they were never written to docs/articles/img/. Nothing to do with the new
article; any full rebuild on 2.2.1 would have done this. The old docs/logo.png
and docs/spatialGE_workflow_v3.png from the April build stayed behind
unreferenced, which is why the breakage only appeared when the paths moved.

pkgdown's own NEWS says it is only safe to refer to figures in man/figures and
vignettes, and the vignettes case holds only when an article actually
references the file. So these two move to man/figures, where build_reference()
copies them to reference/figures/ and the README references are rewritten to
match. The paths also still resolve when GitHub renders README.md.

A side benefit: find_logo() now locates man/figures/logo.png, so the logo is
the package logo as far as pkgdown is concerned rather than an ordinary image.

The five images that vignettes do reference stay in vignettes/img/, which is
working as intended. Verified by walking every img src and og:image in docs/:
no unresolved local references remain.
The @return said gene_meta 'gains' vst.variance.standardized, without
qualification. Since the preceding fix, a sample with fewer than four genes of
non-zero variance is left without it, so the sentence overclaimed exactly where
a reader would be surprised.

man/transform_data.Rd is hand-edited to match, rather than regenerated:
installed roxygen2 is newer than the RoxygenNote in DESCRIPTION, so
devtools::document() would rewrite all of man/ and bury the change.
The ban on devtools::document() existed because several .Rd files had been
hand-edited past their roxygen sources, so regenerating silently deleted
documented behavior. Running it confirmed that: it removed the @details and
@Seealso of STlist_to_disk, STlist_to_memory, is_backed, validate_store and
as_Seurat -- 51 lines of prose describing what the on-disk store does and does
not buy, that the round trip is exact, and that a moved store is reported
rather than surfacing later from inside arrow.

Those paragraphs now live in the roxygen blocks, so a regeneration
round-trips: man/ is byte-equivalent in content, differing only where roxygen
renders links as \code{\link[=f]{f()}} and @CountS as \verb{} rather than
\code{}. CLAUDE.md is updated accordingly -- document() is now the way to
change an .Rd, and hand-editing one is what is forbidden, since that is what
created the divergence.

Two regressions the run introduced, both now prevented at the source:

  * importFrom(methods, .hasSlot) was dropped. R/stlist_readers.R calls it on a
    Seurat image slot; the call is conditional and SeuratObject is only in
    Suggests, so nothing else would have shown the loss. Declared on
    color_parse() with a comment saying why it lives there.

  * print.sge_manifest became export(print.sge_manifest) instead of
    S3method(print, sge_manifest), which leaves print() on a manifest
    undispatched unless the package is attached -- and the on-disk vignette
    prints one. The tag is now @exportS3Method base::print; verified that
    dispatch works both attached and namespace-only, which the exported form
    did not guarantee.

The CI guard for the first of those was itself broken by the upgrade: it
grepped for the single-line importFrom(methods,.hasSlot) that roxygen2 7 wrote,
and roxygen2 8 writes multi-symbol imports one per line, so it would have
failed on a NAMESPACE that was correct. It now asks parseNamespaceFile().

What the run fixed, and the reason for keeping it: the four S4 methods added
with STlist subsetting had no .Rd at all, which R CMD check reported as
"Undocumented S4 methods". Generating them exposed two further gaps that are
also fixed here -- the [ and [[ blocks were missing @PARAM entries for the
generics' full argument lists, and [[ needed an explicit @Aliases. setMethod()
trims trailing ANYs from a signature, so [[ registers as '[[,STlist-method'
however it is written (confirmed with findMethods()), while roxygen2 writes the
generic's full arity; check derives the alias it wants from the registered
siglist, so the short form has to be declared.

R CMD check --as-cran goes from 2 WARNINGs + 3 NOTEs to 1 WARNING + 2 NOTEs,
with every documentation finding cleared. What remains is already explained in
cran-comments.md: qpdf absent locally (present on CRAN's machines), R.utils
unused by static analysis but a load-bearing runtime dependency of
data.table::fread() for gzipped 10x input, and the clustrmaps visitor badge in
README.md returning an error.

Full suite passes with the golden gate, 779 assertions, zero diffs. Reference
pages and home rebuilt; four new pages, no broken image references anywhere in
docs/.
R CMD check --as-cran goes from 1 WARNING + 2 NOTEs to 0 WARNINGs + 3 NOTEs,
and the three that remain are all properties of the machine rather than of the
package.

R.utils stays in Imports, and is now named in an @importFrom beside the
fread() calls that need it. It is a runtime dependency of data.table::fread(),
which loads it to decompress the gzipped features/barcodes/matrix files Cell
Ranger always emits; because fread() loads it internally rather than this
package calling it, static analysis could not see the use and reported it as a
declared-but-unused Import. Naming a symbol makes the dependency visible to
that check and puts the reason next to the calls. It is deliberately NOT moved
to Suggests, which would silence the NOTE by reintroducing the failure commit
98097bc fixed: a minimal install then cannot read standard 10x MEX output.

The clustrmaps visitor badge in README.md is commented out rather than deleted.
An HTML comment is not merely hidden from rendering: R's URL extractor skips it
too, confirmed by calling tools:::url_db_from_package_README_md() on both
variants, which returns the link when the block is live and nothing when it is
commented. So the NOTE goes away and the badge is one uncomment from coming
back. Verified that it no longer appears in the rendered home page, and docs/ is
Rbuildignored so it was never in the tarball anyway.

qpdf is now installed locally, which clears the last WARNING. That one could
never have occurred on CRAN, whose machines have it.

cran-comments.md is rewritten around the new state, and records the four
findings now fixed rather than explained so a reviewer comparing submissions
can see where they went.

Removing the badge also uncovered a finding it had been masking: the Space
Ranger link in basic_functions_vignette.Rmd points at
support.10xgenomics.com, which 10x appears to have retired -- it returns 403 to
any client including a browser user agent, with no redirect. Left alone for now
and documented in cran-comments.md, because the current location
(www.10xgenomics.com/support/software/space-ranger) rate-limits this network at
HTTP 429 and could not be confirmed.

Full suite passes with the golden gate, 779 assertions, zero diffs. Home page
rebuilt; no broken image references anywhere in docs/.
10x Genomics appears to have retired support.10xgenomics.com: the Space Ranger
page the introduction linked to returns 403 to any client, including a browser
user agent, and issues no redirect. R CMD check --as-cran reported it as a
possibly invalid URL.

The reference is now plain text rather than repointed at
www.10xgenomics.com/support/software/space-ranger, because that host rate-limits
this network (HTTP 429) and the replacement could not be confirmed. The sentence
further down that already described Space Ranger as "the software provided by
10X Genomics" was never a link and is unchanged.

Article rebuilt, same size and all 11 figures as the previous full-site build.

cran-comments.md is updated for what the URL check now reports: four doi.org
citations and one satijalab.org page, all failing with libcurl error 60 because
this institution intercepts TLS with a root that is in the macOS keychain but
not in the bundle R's libcurl reads. The check's own output says
"(Status without verification: OK)" for each, i.e. it confirms the URLs resolve
and only the verification failed. Not expected to reproduce on CRAN.
This section named a single intercepting CA, ca.moffitt.goskope.com, and told
you to extract that one cert by CN. Two things were wrong with that.

It is an intermediate, not a root. On the Netskope cloud-proxy path the chain
continues to caadmin.netskope.com, which is the actual trust anchor and is in
neither the bundle the old recipe produced nor any keychain -- which is why
conda could not reach conda.anaconda.org while curl could. macOS curl chases
missing issuers; OpenSSL does not, so "curl works, so the network is fine" is
false in a second way beyond the one already documented here.

And there is more than one interceptor. The on-premises path presents
Moffitt Issuing Authority -> Moffitt Root CA instead, so a bundle built for the
Netskope path fails there. That is how it surfaced: R CMD check --as-cran began
reporting every doi.org citation as a possibly invalid URL, with libcurl error
60 and "(Status without verification: OK)" -- the check confirming the URL
resolves and only verification failed.

Interception is also per host rather than per network: on the cloud-proxy path
conda.anaconda.org was intercepted while github.com was not.

The recipe now takes every corporate cert the keychain holds rather than one CN,
because picking by name is what made it fragile. It also records that
`security find-certificate -c "Moffitt Root CA"` returns nothing even though
that cert is present -- -c does not match its subject, so enumerate with -a and
filter on the decoded subject. Verified that the documented commands reproduce
the bundle used here: 139 certs, identical fingerprint sets.

Adds the warning to compare fingerprints before replacing a working bundle.
Dropping a public root here would break far more than it fixes.
R CMD check --as-cran is now 0 ERRORs, 0 WARNINGs, 1 NOTE. The six findings the
previous version explained are fixed rather than argued, and are listed as such
so a reviewer comparing submissions can see where each went.

What remains is 'unable to verify current time': the check compares file
timestamps against an external service, and both that R consults were down when
it ran -- worldclockapi.com returned 503 and worldtimeapi.org did not respond,
while the network was otherwise working. R has no fallback and no file in the
tarball carries a future timestamp.

Also records that the doi.org and satijalab.org URLs reported at one point were
local TLS interception rather than bad links, on the evidence of the check's own
'(Status without verification: OK)' line.
@ACSoupir
ACSoupir merged commit 265f41d into alex-refactor Oct 16, 2026
5 checks passed
ACSoupir added a commit that referenced this pull request Oct 16, 2026
The harness had not been run since 98097bc, and classify.R had no record for any
commit after it was written. Run as-is against 7f20f65 it reported 9,853
REGRESSION paths in the main batch and 5,773 in the extras. None were defects:
the table is the test, and it fails closed, so an unrecorded difference reads as
a regression until someone records it. Eight records bring both batches to zero
without reclassifying a single value difference.

The result worth having is narrower than the counts. Isolating the leaves that
carry a statistic rather than the stored neighbour graph: 28 FLOAT_NOISE, 6
ORDER_INDUCED_VALUE, and nothing else. Across 20,079 differing leaf paths in two
batches there is not one case where the branch produces a different number than
main, nor one where the branch fails and main succeeded. Every direction of
difference runs the other way -- main fabricating statistics for a sample that
does not exist, main erroring on a zero-variance gene, main reporting the wrong
argument on a bad input.

Adds EXPECTED_CHANGE to compare.R's whitelist. EXPECTED_FIX was absorbing both
kinds of accounted-for difference, which overstated the case: dropping a stored
intermediate for capacity, adding a column or rewording a message says nothing
about main having been wrong. 14,412 of the differences are that kind, and only
EXPECTED_FIX should read as a correctness claim.

Every new record with any risk of over-matching is value-guarded on
main_pattern/alex_pattern, so a broad path regex cannot absorb a genuine change
sitting at the same kind of path. change04_err_catalog was written and then
removed rather than kept: more specific records claim those paths first, so it
matched nothing, and a record that matches nothing is exactly what the inverse
check exists to flag.

undoc_slot_error_text is now optional rather than deleted. It and the new
fix16_assert_stlist_msg together record that this message went raw -> raw ->
informative across two commits; on its own it now reports NOT_OBSERVED.

One new finding, recorded as UNDOCUMENTED_CHANGE: get_gene_meta() returns the
same seven columns in a different order, because transform_data() inserts VST
before SThet appends moran_i/geary_c. Fidelity rule 8 treats column position as
API and NEWS does not mention it, so it is worth adding there.

REPORT.md gains a section for this run, following the existing append
convention: the verdict tables, the records, the re-run oracles and probes, the
CI matrix, and two things that cost time -- that xv_scrub() strips end-of-string
digits so payload messages appear with counts missing, and that 00_gate.sh
compares origin/<ref> to HEAD, so running against a verification branch needs
XVER_REF_ALEX overridden and the branch pushed first.

Coverage debt left standing and stated: 86 of 204 compared steps compared only
an error string, and fix13_pval_warn is NOT_OBSERVED for the third run running.

dev/ is Rbuildignored, so none of this enters the tarball; the Status: OK from
PR #21 is unaffected.
@ACSoupir
ACSoupir deleted the alex_refactor_verify branch October 16, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant